import request from '@/utils/request' ;
export function company() {
  return request ({
    url: '/company/department',
    method: 'get'
  })
   .then(res => {
    // console.log(res.data.data.depts)
    return res.data.data.depts
   })
   .catch(err => err)
}
